var host = process.browser ? location.hostname : ''

module.exports = {
  middlewareURL: host == 'www.ikanfan.com' ? 'http://www.ikanfan.com/' : 'http://www.ikanfan.com/',
  homeTitle: '99496动漫网(9站)',
  port: {
    develop: 8611,
    production: 1210
  },
  rootDir: {
    develop: 'src/',
    production: 'dist/'
  },
  alioss: {
    buildPath: "{dist/js/**/*.js,dist/css/**/*.css,dist/img/**/*.gif}",
    region: 'oss-cn-shanghai',
    accessKeyId: '4jQOAhbdvK3cGVKW',
    accessKeySecret: '6CbNB3F78UJ6xwSRaNsfPYdU9yupJE',
    bucket: 'r-static',
    deleteAll: true,
    pre_path: 'v1',
  }
}
